class VehicleStatusDict {
  dict:any = [
    {
      key: 0,
      status: "未提交"
    },
    {
      key: 1,
      status: "审核中(入场)"
    },
    {
      key: 4,
      status: "审核中(退场)"
    },
    {
      key: 2,
      status: "已通过(入场)"
    },
    {
      key: 5,
      status: "已通过(退场)"
    },
    {
      key: 3,
      status: "已拒绝(入场)"
    },
    {
      key: 6,
      status: "已拒绝(退场)"
    }
  ]
  getStatusByKey(key:any){
    let item = this.dict.find((item:any)=>{
      return item.key == key
    })
    if(item) return item.status
    return ""
  }
}
export default new VehicleStatusDict()